package home_8_14.no4;

public class StudentTest {
    public static void main(String[] args) {
        Student[] stus = new Student[3];
        stus[0] = new Student("myy", 1, 100);
        stus[1] = new Student("zhhh", 2, 95);
        stus[2] = new Student("fyh", 3, 97);

        Student.sort(stus);

        for(Student stu : stus) {
            stu.out();
        }

    }
}
